package com.phone.store.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/7/31 10:18 下午
 */
@Data
public class OrderDetailVO {

    /**
     * orderId : 1586253884545138376
     * buyerName : 张三
     * phoneName : Honor 8A
     * payStatus : 0
     * freight : 10
     * tel : 13678787878
     * address : 广东省深圳市罗湖区科技路123号456室
     * num : 1
     * specs : 32GB
     * price : 2800.00
     * icon : ../static/e84a2e03-7f19-41d2-98a5-a5c16b7e252d.jpg
     * amount : 2810
     */
    private String orderId;

    private String buyerName;

    private String phoneName;

    private Integer payStatus;

    private Integer freight = 10;

    @JsonProperty(value = "tel")
    private String buyerPhone;

    @JsonProperty(value = "address")
    private String buyerAddress;

    @JsonProperty(value = "num")
    private Integer phoneQuantity;

    @JsonProperty(value = "specs")
    private String specsName;

    @JsonProperty(value = "price")
    private String specsPrice;

    @JsonProperty(value = "icon")
    private String phoneIcon;

    @JsonProperty(value = "amount")
    private BigDecimal orderAmount;
}
